package ooap;

/**
 * @author yuisama
 * @date 2022/09/09 19:26
 **/
public class Computer {
    private String CPU;
    private String memory;
    private String disk;
    private String screen;

    public Computer(String CPU, String memory, String disk, String screen) {
        this.CPU = CPU;
        this.memory = memory;
        this.disk = disk;
        this.screen = screen;
    }

    // alt + insert 快捷生成getter
    public String getDisk() {
        return disk;
    }

    public String getScreen() {
        return screen;
    }

    // 快捷生成setter
    public void setCPU(String CPU) {
        this.CPU = CPU;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public void setDisk(String disk) {
        this.disk = disk;
    }

    public void setScreen(String screen) {
        this.screen = screen;
    }
}

